/**
 * Created by zhangyc on 2017/8/24.
 */
import React, { Component } from 'react';

export default class Title extends Component {
  render(){
    return(
      <h1 onClick={this.props.onTitleClick}>{this.props.text}</h1>
    )
  }
}
